/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aqlm.util;

import java.util.Date;

/**
 *
 * @author hironaga
 */
public class CommonUtil {

    private CommonUtil(){};
    
    public static String setNullStr(String str){
        if(nullChk(str)){
            return "";
        }
        else{
            return str;
        }
    }
    
    public static boolean nullChk(String str){
        if(str == null || str.length() == 0){
            return true;
        }
        else{
            return false;
        }
    }

    public static Date getSysdate(){
        return new Date();
    }
}


